QT       += core gui

greaterThan(QT_MAJOR_VERSION, 4): QT += widgets

CONFIG += c++17


DESTDIR = $$PWD/bin           # 将.exe文件生成到bin文件夹下
TARGET = Scholarship          # 软件名称

win32 {
    RC_FILE = $$PWD/Resources/app.rc
} macx {
    ICON = $$PWD/Resources/app.icns
}

# LIBS += -L"$$PWD/bin" -lQXlsx   # 导入动态链接库


include($$PWD/Config/Config.pri)
include($$PWD/QXlsx/QXlsx.pri)
include($$PWD/Scholarship/Scholarship.pri)
include($$PWD/Window/Window.pri)


INCLUDEPATH += $$PWD/Config/header
INCLUDEPATH += $$PWD/QXlsx/header
INCLUDEPATH += $$PWD/Scholarship/header
INCLUDEPATH += $$PWD/Window/header


SOURCES += \
    $$PWD/main.cpp

RESOURCES += \
    $$PWD/Resources/Resources.qrc

# Default rules for deployment.
qnx: target.path = /tmp/$${TARGET}/bin
else: unix:!android: target.path = /opt/$${TARGET}/bin
!isEmpty(target.path): INSTALLS += target




